<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\bean;
class UserAddressBean extends BaseBean
{

	static $id = 'id'; //
	static $province = 'province'; //省份
	static $city = 'city'; //城市
	static $area = 'area'; //县区
	static $detail = 'detail'; //详细地址
	static $phone = 'phone'; //联系电话
	static $name = 'name'; //收货人
	static $detailLat = 'detail_lat'; //经度
	static $detailLng = 'detail_lng'; //维度
	static $userId = 'user_id'; //用户id
	static $default = 'default'; //是否默认 1非默认 2默认
	static $updateAt = 'update_at'; //
	static $createdAt = 'created_at'; //

	static $tableName = 'user_address';
	static $alias = 'UserAddressBean';

		
	public function getId(){
		return $this->getParameter(self::$id);
	}

	public function setId($id){
		$this->setParameter('id',$id);
	}

	public function getProvince(){
		return $this->getParameter(self::$province);
	}

	public function setProvince($province){
		$this->setParameter('province',$province);
	}

	public function getCity(){
		return $this->getParameter(self::$city);
	}

	public function setCity($city){
		$this->setParameter('city',$city);
	}

	public function getArea(){
		return $this->getParameter(self::$area);
	}

	public function setArea($area){
		$this->setParameter('area',$area);
	}

	public function getDetail(){
		return $this->getParameter(self::$detail);
	}

	public function setDetail($detail){
		$this->setParameter('detail',$detail);
	}

	public function getPhone(){
		return $this->getParameter(self::$phone);
	}

	public function setPhone($phone){
		$this->setParameter('phone',$phone);
	}

	public function getName(){
		return $this->getParameter(self::$name);
	}

	public function setName($name){
		$this->setParameter('name',$name);
	}

	public function getDetailLat(){
		return $this->getParameter(self::$detailLat);
	}

	public function setDetailLat($detailLat){
		$this->setParameter('detail_lat',$detailLat);
	}

	public function getDetailLng(){
		return $this->getParameter(self::$detailLng);
	}

	public function setDetailLng($detailLng){
		$this->setParameter('detail_lng',$detailLng);
	}

	public function getUserId(){
		return $this->getParameter(self::$userId);
	}

	public function setUserId($userId){
		$this->setParameter('user_id',$userId);
	}

	public function getDefault(){
		return $this->getParameter(self::$default);
	}

	public function setDefault($default){
		$this->setParameter('default',$default);
	}

	public function getUpdateAt(){
		return $this->getParameter(self::$updateAt);
	}

	public function setUpdateAt($updateAt){
		$this->setParameter('update_at',$updateAt);
	}

	public function getCreatedAt(){
		return $this->getParameter(self::$createdAt);
	}

	public function setCreatedAt($createdAt){
		$this->setParameter('created_at',$createdAt);
	}


}
